package com.carrot.uaa.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = UaaAuthLoginProperties.UAA_AUTH_LOGIN_PREFIX)
public class UaaAuthLoginProperties {

    static final String UAA_AUTH_LOGIN_PREFIX = "uaa.auth.login";


    /** 登录短信发送阈值 */
    private Integer sendSmsCodeThreshold=5;

    /**
     * 短信验证码阀值
     */
    private Integer smsCaptchaVerifyCount=10;

    /**
     * 密码尝试次数
     */
    private Integer tryPasswdCount=5;

    /**
     * 临时冻结时间：分钟
     */
    private Integer temporaryFreezeTime=1;



}
